package com.harry.configuration.lifecycle.bindspring;

import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.stereotype.Component;

import com.harry.configuration.lifecycle.AfterAppLaunch;

/**
 * 绑定 Spring 生命周期
 */
@Component
public class AfterBindSpring extends AfterAppLaunch implements ApplicationRunner {

	@Override
	public void run(ApplicationArguments args) throws Exception {
		this.after();
	}
}
